package extend_widget

import "fyne.io/fyne/v2"

type ButtonEvent struct {
	OnTapped func()
}

func (b *ButtonEvent) Tapped(_ *fyne.PointEvent) {
	if onTapped := b.OnTapped; onTapped != nil {
		onTapped()
	}
}
